virtualisation.oci-containers.containers.<name>.imageFile
Path to an image file to load before running the image. This can be used to bypass pulling the image from the registry.
The image attribute must match the name and
tag of the image contained in this file, as they will be used to
run the container with that image. If they do not match, the
image will be pulled from the registry as usual.
- Type
null or path in the Nix store- Default
null- Example
pkgs.dockerTools.buildImage {...};- Declared
- <nixpkgs/nixos/modules/virtualisation/oci-containers.nix>